#pragma once

#include "ScriptCompiler/AST/SentenceNode.h"

class CExpressionNode;

class CSentenceBlockNode : public CSentenceNode
{
public:
    CSentenceBlockNode(std::weak_ptr<CScriptFileContext> InFile)
        : CSentenceNode( InFile,EASTNodeType::SentenceBlock)
    {
    }

    TVector<std::shared_ptr<CSentenceNode>> Sentences;

    bool HaveBrace=false;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override;

};